#pragma once
#include <afxtempl.h>

class PRINTER_TYPE
{
public:
	PRINTER_TYPE() : CmykProfile(_T("CustomCMYK.icc")){}
	CString family;
	CString name;
	CString driver;
	CString manufacturer;
	CString CmykProfile;
	float Gamma;
	float Density;
	int dpi;
};
class CXMLElement;
class CPrinterTypeList
{
public:
	CPrinterTypeList(void);
	~CPrinterTypeList(void);

	BOOL Init(const CString&);
	BOOL FillComboBox(CComboBox*);
private:
	CString m_strServerName;
	CArray<PRINTER_TYPE, PRINTER_TYPE> m_PrinterList;
	BOOL LoadPrinterFamily(CXMLElement*);
};
